package com.osce.common.core.entity.vo;

import com.osce.common.annotation.Excel;
import com.osce.common.constant.UserConstants;
import lombok.*;

import java.util.Date;

/**
 * @author zzxjs
 * @since 2023/7/23
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
@Data
public class TeacherExcelVo {

    /**
     * 用户账号
     */
    @Excel(name = "登录账户")
    private String userName;

    /**
     * 用户姓名
     */
    @Excel(name = "姓名(必填)")
    private String nickName;

    /**
     * 用户性别
     */
    @Excel(name = "用户性别（必填）", readConverterExp = "0=男,1=女,2=未知", combo = {"男", "女", "未知"})
    private String sex;

    /**
     * ============= militaryUser ==============
     */
    @Excel(name = "民族")
    private String nation;

    @Excel(name = "籍贯")
    private String nativePlace;

    @Excel(name = "入伍时间（yyyy-MM-dd）", dateFormat = "yyyy-MM-dd")
    private Date enlistmentTime;

    @Excel(name = "入党（团）时间（yyyy-MM-dd）", dateFormat = "yyyy-MM-dd")
    private Date partyJoiningTime;

    @Excel(name = "入伍地")
    private String enlistmentPlace;

    @Excel(name = "学历", dictType = "basic_educatiod_dict")
    private Integer educationId;

    @Excel(name = "学位", dictType = "basic_degree_dict")
    private Integer degreeId;

    @Excel(name = "血型")
    private String bloodType;

    @Excel(name = "人员类别(必填)", readConverterExp = "0=军官,1=文员,2=战士", combo = {"军官", "文员", "战士"})
    private Integer personnelCategoryId;

    @Excel(name = "保障卡号 ")
    private String securityCardNo;

    @Excel(name = "军人证件号 ")
    private String militaryIdNo;
    /**
     * 身份证
     */
    @Excel(name = "身份证号(必填)")
    private String identity;

    /**
     * 科室
     */
    @Excel(name = "所属科室(必填)", type = Excel.Type.IMPORT)
    private String deptName;


    @Excel(name = "总支(必填)")
    private String organizationalCategory;

    @Excel(name = "部职别(必填)")
    private String dutyTitle;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;



    /**
     * 手机号码
     */
//    @Excel(name = "手机号码")
    private String phonenumber;

    /**
     * 生日
     */
//    @Excel(name = "生日", dateFormat = "yyyy-MM-dd")
    private Date birthday;





    /**
     * 用户类型
     */
    private String userType = UserConstants.TEACHER_TYPE;

    /**
     * 密码
     */
    private String password = UserConstants.DEFAULT_PASSWORD;

    /**
     * 帐号状态（0正常 1停用）
     */
    private String status = "0";

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag = "0";

    /**
     * 角色 3表示教师
     */
    private Long[] roleIds = UserConstants.TEACHER_ROLES;


    /**
     * ============= userInfo ==============
     */
//    @Excel(name = "学校")
    private String school;

    /**
     * 学科
     */
//    @Excel(name = "学科")
    private String base;

    /**
     * 职称
     */
//    @Excel(name = "职称", dictType = "basic_post_teacher_dict")
    private Long post;


}
